package demo.controller.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

public abstract class ModelData {
	protected ModelData(int mileageID, Integer parentMileageID) {
		super();
		this.mileageID = mileageID;
		this.parentMileageID = parentMileageID;
	}

	private int mileageID;
	private Integer parentMileageID;

	@JsonProperty("MileageID")
	public int getMileageID() {
		return mileageID;
	}

	public void setMileageID(int mileageID) {
		this.mileageID = mileageID;
	}

	@JsonProperty("ParentMileageID")
	public Integer getParentMileageID() {
		return parentMileageID;
	}

	public void setParentMileageID(Integer parentMileageID) {
		this.parentMileageID = parentMileageID;
	}

}
